package com.zxx.pattern.buildPattern.build2;

/**
 * @author zxx on 2020/12/11
 */
public class Test2 {


    public static void main(String[] args) {
        Director2 director = new Director2(new Builder2Computer());
        Product2 product2 = director.createComputer("CPU1", "Board1", "Ram1");

        System.out.println(product2.toString());

    }


}
